package com.itliang.core.model.entity.equipment;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 硬件设备表
 *
 * @TableName equipment
 */
@TableName(value = "equipment")
@Data
public class Equipment implements Serializable {
    /**
     * 设备id主键
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 设备代码
     */
    private String code;

    /**
     * 设备名称
     */
    private String name;

    /**
     * 产品描述
     */
    private String description;

    /**
     * 设备状态 0-关闭 1-打开
     */
    private Integer status;

    /**
     * 设备类型
     */
    private Long equipmentTypeId;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;

    /**
     * 是否删除
     */
    @TableLogic
    private Integer isDeleted;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}